package com.gjy.concurrency.module.promise;

import java.util.Map;

/**
 * @author 宫静雨
 * @version 1.0
 * @since 2022-12-06 14:14:45
 */
public class DataSyncTask implements Runnable{

    private final Map<String,String> taskParameters;

    public DataSyncTask(Map<String, String> taskParameters) {
        this.taskParameters = taskParameters;
    }

    @Override
    public void run() {
        String server = taskParameters.get("server");
        String username = taskParameters.get("username");
        String password = taskParameters.get("password");
        String dir = taskParameters.get("dir");


    }
}
